package com.whmskj.xjlhsc.mobie.Scheduling.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whmskj.xjlhsc.mobie.Scheduling.entity.LeaveRequest;

import java.util.List;

/**
 * @Author: Sakura
 * @Date: 2025/9/2 11:07
 * @Version: v1.0.0
 * @Description: TODO
 **/
public interface LeaveRequestService  extends IService<LeaveRequest> {

    List<LeaveRequest> getLeaveListByCondition(LeaveRequest condition);

    boolean addLeaveRequest(LeaveRequest leaveRequest);

    boolean updateLeaveRequest(LeaveRequest leaveRequest);

    boolean deleteLeaveRequest(Long id);


}
